#!usr/bin/node

function area(r) {
   return Math.PI * r * r;
}
function perimeter(r) {
  return 2 * Math.PI * r;
}
function diameter(r) {
  return 2 * r;
}

module.exports = {
  area,
  perimeter,
  diameter
};

